package cn.yrec.rain.analysis.mappers;


import cn.yrec.rain.analysis.model.BasinHy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname RaPweightMapper
 * @Description 分区降雨权重系数表持久层接口
 * @Date 2020/06/30 下午 4:15
 * @Created by yanglichen
 */
@Mapper
public interface BasinHyMapper extends BaseMapper<BasinHy> {

    /**
     * 方法描述: 根据流域名找到流域名的上下游关系的实体类
     * @author yanglichen
     * @date 2020-08-24 22:35
     * @param basinName 流域名
     * @return 流域上下游关系实例
     **/
    BasinHy findByBasinName(@Param("BASIN_NAME") String basinName);
}
